<template>
  <div>
   <Jrxuanxiang leixing="智能数码" type="jiedian" :chuan1="arra" :chuan2="arrb"/>
  </div>
</template>

<script>
import axios from "axios";
import Jrxuanxiang from "../components/plms/jrxuanxiang.vue"

export default {
    data () {
    return {
      liebiao: [],
    }
  },
   components: {
    Jrxuanxiang
  },
   created() {
    axios.get("/liebiao2", {
        params: {
          type: this.type,
        },
      })
      .then((res) => {
        this.liebiao = res.data;
      })
      .catch((err) => {
        console.log("服务器出错了", err);
        alert("服务器出错了");
      });
  },
   computed: {
    arra() {
      return this.liebiao.slice(3, 6);
    },
    arrb() {
      return this.liebiao.slice(0, 3);
    },
  },

}
</script>

<style>

</style>